﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="ZakaPessoal1.aspx.vb"
    Inherits="ZakaFrontEnd.ZakaPessoal1" %>

<%@ Register Assembly="obout_Grid_NET" Namespace="Obout.Grid" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Área Pessoal</title>
    <script type="text/javascript">

        function pageLoad() {
        }
    
    </script>
    <link href="layout.css" rel="stylesheet" type="text/css" />
    <link href="default.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="images/favicon.ico" />
    <link rel="icon" type="image/gif" href="/images/animated_favicon1.gif" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
    </div>
    <div id="wrapper">
        <div id="header">
            <h1>
                Área Pessoal
            </h1>
        </div>
        <div id="main-menu">
            <ul>
                <li class="first">
                    <asp:Label ID="lblBV" runat="server" Text="Bem Vindo," ForeColor="White"></asp:Label>
                    <asp:LoginName ID="LoginName1" runat="server" ForeColor="White" />
                    &nbsp;&nbsp;&nbsp; </li>
                <li>
                    <asp:HyperLink ID="lnkPessoal" runat="server" NavigateUrl="~/Template1/ZakaNovo1.aspx"
                        ToolTip="Vai para a Pagina Inicial">Voltar</asp:HyperLink></li>
                <li>
                    <asp:LoginStatus ID="LoginStatus1" runat="server" LogoutPageUrl="~/ZakaLogin.aspx"
                        LogoutAction="RedirectToLoginPage" />
                </li>
            </ul>
        </div>
        <div id="content">
            <div id="left">
                <h2 class="bigger">
                    Dados Pessoais</h2>
                <div id="InfoPessoal">
                    <table class="style2">
                        <tr>
                            <td>
                                <asp:Label ID="Label1" runat="server" Text="Nome:"></asp:Label>
                            </td>
                            <td>
                                <asp:Label ID="lbl_Nome" runat="server" ForeColor="Black"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label2" runat="server" Text="Nº de Jogos:"></asp:Label>
                            </td>
                            <td>
                                <asp:Label ID="lbl_Jogos" runat="server" ForeColor="Black"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label3" runat="server" Text="MVP:"></asp:Label>
                            </td>
                            <td>
                                <asp:Label ID="lbl_MVP" runat="server" ForeColor="Black"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label4" runat="server" Text="Golos Marcados:"></asp:Label>
                            </td>
                            <td>
                                <asp:Label ID="lbl_GMarcados" runat="server" ForeColor="Black"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </div>
                <div>
                    <h2>
                        Estatísticas</h2>
                    <table style="border-spacing: 20px">
                        <tr>
                            <td>
                                <asp:Repeater ID="rptMaisVitorias" runat="server">
                                    <HeaderTemplate>
                                        <table width="100%" cellpadding="3" cellspacing="0">
                                            <tr style="text-align: center; font-weight: bolder">
                                                <td>
                                                    Mais Vitórias
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="repeater_header">
                                                    Jogador
                                                </td>
                                                <td class="repeater_header">
                                                    Vitórias
                                                </td>
                                            </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label1" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label2" runat="server" CssClass="normalblack" Text='<%#Eval("Vitorias").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label2" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label3" runat="server" CssClass="normalblack" Text='<%#Eval("Vitorias").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </AlternatingItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </td>
                            <td>
                                <asp:Repeater ID="rptMenosVitorias" runat="server">
                                    <HeaderTemplate>
                                        <table width="100%" cellpadding="3" cellspacing="0">
                                            <tr style="text-align: center; font-weight: bolder">
                                                <td>
                                                    Menos Vitórias
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Jogador
                                                </td>
                                                <td>
                                                    Vitórias
                                                </td>
                                            </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label1" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label2" runat="server" CssClass="normalblack" Text='<%#Eval("Vitorias").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label2" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label3" runat="server" CssClass="normalblack" Text='<%#Eval("Vitorias").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </AlternatingItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </td>
                            <td>
                                <asp:Repeater ID="rptMaisEmpates" runat="server">
                                    <HeaderTemplate>
                                        <table width="100%" cellpadding="3" cellspacing="0">
                                            <tr style="text-align: center; font-weight: bolder">
                                                <td>
                                                    Mais Empates
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Jogador
                                                </td>
                                                <td>
                                                    Empates
                                                </td>
                                            </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label5" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label6" runat="server" CssClass="normalblack" Text='<%#Eval("Empates").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label7" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label8" runat="server" CssClass="normalblack" Text='<%#Eval("Empates").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </AlternatingItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Repeater ID="rptMenosEmpates" runat="server">
                                    <HeaderTemplate>
                                        <table width="100%" cellpadding="3" cellspacing="0">
                                            <tr style="text-align: center; font-weight: bolder">
                                                <td>
                                                    Menos Empates
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Jogador
                                                </td>
                                                <td>
                                                    Empates
                                                </td>
                                            </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label9" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label10" runat="server" CssClass="normalblack" Text='<%#Eval("Empates").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label11" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label12" runat="server" CssClass="normalblack" Text='<%#Eval("Empates").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </AlternatingItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </td>
                            <td>
                                <asp:Repeater ID="rptMaisDerrotas" runat="server">
                                    <HeaderTemplate>
                                        <table width="100%" cellpadding="3" cellspacing="0">
                                            <tr style="text-align: center; font-weight: bolder">
                                                <td>
                                                    Mais Derrotas
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Jogador
                                                </td>
                                                <td>
                                                    Derrotas
                                                </td>
                                            </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label13" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label14" runat="server" CssClass="normalblack" Text='<%#Eval("Derrotas").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label15" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label16" runat="server" CssClass="normalblack" Text='<%#Eval("Derrotas").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </AlternatingItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </td>
                            <td>
                                <asp:Repeater ID="rptMenosDerrotas" runat="server">
                                    <HeaderTemplate>
                                        <table width="100%" cellpadding="3" cellspacing="0">
                                            <tr style="text-align: center; font-weight: bolder">
                                                <td>
                                                    Menos Derrotas
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    Jogador
                                                </td>
                                                <td>
                                                    Derrotas
                                                </td>
                                            </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label17" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label18" runat="server" CssClass="normalblack" Text='<%#Eval("Derrotas").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <AlternatingItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:Label ID="Label19" runat="server" CssClass="normalblack" Text='<%#Eval("NomeUtilizador").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="Label20" runat="server" CssClass="normalblack" Text='<%#Eval("Derrotas").ToString()%>'>
                                                </asp:Label>
                                            </td>
                                        </tr>
                                    </AlternatingItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <div id="right">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <h2>
                        Alterar Password</h2>
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="lblPassAntiga" runat="server" Text="Password Antiga:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtPassAntiga" runat="server" TextMode="Password" Width="100px"></asp:TextBox>
                            </td>
                            <td>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Campo Necessário!"
                                    ControlToValidate="txtPassAntiga" Display="Dynamic" ForeColor="White">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblNovaPass" runat="server" Text="Password Nova:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtNovaPass" runat="server" TextMode="Password" Width="100px"></asp:TextBox>
                            </td>
                            <td>
                                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNovaPass"
                                    ControlToValidate="txtConfNovaPass" ErrorMessage="Nova Pass Incorrecta!" Display="Dynamic"
                                    ForeColor="White">*</asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblConfNovaPass" runat="server" Text="Confirmar Password:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtConfNovaPass" runat="server" TextMode="Password" Width="100px"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:Button ID="btnAlterarPass" runat="server" Text="Alterar" />
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:Label ID="lblMensagem" runat="server" Font-Names="Rod" ForeColor="White"></asp:Label>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List"
                                    ForeColor="Black" />
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                    <h2>
                        Alterar Dados
                    </h2>
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="lblUserName" runat="server" Text="UserName:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtUserName" runat="server" TextMode="SingleLine" Width="100px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="lblDisplayName" runat="server" Text="Display Name:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="txtDisplayName" runat="server" TextMode="SingleLine" Width="100px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:Button ID="btnAlterarDados" runat="server" Text="Alterar" CausesValidation="false" />
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:UpdatePanel>
            <hr class="hr1" />
        </div>
        <%--<br />
        <br />
        <div class="hr1">
            <hr />
        </div>--%>
        <div id="footer">
            <div class="hr1">
                <hr />
            </div>
            <br />
            <p>
                Copyright @ 2010 Cromos da Bola. All Rights Reserved. Designed by JP</p>
        </div>
        <asp:Panel ID="Panel1" runat="server">
        </asp:Panel>
    </div>
    <asp:HiddenField runat="server" ID="hfPass" Value=""></asp:HiddenField>
    </form>
</body>
</html>
